CC = g++

all: figure.o flist.o fmain.o
	$(CC) -o list_test $+
fmain.o: fmain.cpp
flist.o: flist.h flist.cpp
figure.o: figure.cpp figure.h

.PHONY:clean
clean:
	rm *.o *.exe